//
//  HomeCoordinateModel.m
//  FD
//
//  Created by xiaofang wang on 2018/11/27.
//  Copyright © 2018年 ZhiYuan Network. All rights reserved.
//  首页配送范围,经纬度模型

#import "HomeCoordinateModel.h"

@implementation HomeCoordinateModel

- (CLLocationCoordinate2D)coordinate2D {
    
    CGFloat lat = [self.latitude floatValue];
    CGFloat log = [self.longitude floatValue];
    
    //创建坐标
    CLLocationCoordinate2D coordinate2d = CLLocationCoordinate2DMake(lat, log);
    
    //返回
    return coordinate2d;
}

@end
